package com.xtkj.superclub_entity.entity.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lizheqi
 * @create 2019-12-25-10:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
@TableName("tborder")
public class Order implements Serializable {
    @TableId(value = "order_id",type = IdType.INPUT)
    private String orderId;//订单编号
    private String userId;//下单用户编号
    private String userName;//用户名称
    private String addressId;
    private Address address;//送货地址
    private Date orderDt;//下单时间
    private double total;//订单总额
    private String type;//付款方式
    private int orderStatus;//订单状态
}
